package datastructure;

import java.util.ArrayList;
import java.util.Iterator;

public class Test {
    public static void main(String[] args) {
        String[] str = {"a", "b", "c", "d", "e", "f", "g"};
        SqListClass<String> list = new SqListClass<>();
        list.createList(str);
        list.addNoRepeat("d");
        list.addNoRepeat("h");
        System.out.println(list);
        System.out.println(list.getSize());
        for (String temp : list)
            System.out.print(" " + temp);
    }
}
